﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="CustomerDetails.aspx.cs" Inherits="Swindles.Customer.CustomerDetails" MasterPageFile="~/Swindles.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
<div>
    <table width="560" border="0" cellspacing="0" cellpadding="2" class="post">
    <tr>
        <td class="title" colspan="2">
            <h2>
                <a href="#">Customer Details</a></h2>
        </td>
    </tr>
    <tr>
        <td>Customer Name </td>
        <td><asp:Label ID="lblCustomerName" runat="server" /></td>
    </tr>
    <tr>
        <td>Customer Number </td>
        <td><asp:Label ID="lblCustomerNumber" runat="server" /></td>
    </tr>
     <tr>
        <td>Contact Number </td>
        <td><asp:Label ID="lblContactNumber" runat="server" /></td>
    </tr>
     <tr>
        <td>Contact Address </td>
        <td><asp:Label ID="lblContactAddress" runat="server" /></td>
    </tr>
    </table>
</div>
<div style="height:50px">&nbsp;</div>
<div>
      <table width="560" border="0" cellspacing="0" cellpadding="2" class="post">
        <tr>
            <td class="title" >
                <h2>
                <a href="#">Account Details</a></h2>
            </td>
        </tr>
        <tr>
        <td>
        <asp:DataGrid ID="grdAccounts" runat="server" AutoGenerateColumns="false" DataKeyField="AccountID" Width=100% >
        <HeaderStyle HorizontalAlign="Center" ForeColor="WhiteSmoke" BackColor="Gray" Height="50px" Font-Size="15" Font-Names="Georgia"/>
        <ItemStyle HorizontalAlign="Center" Font-Names="Verdana" Width="75px" Font-Size="8"  />
        <AlternatingItemStyle HorizontalAlign="Center" Font-Names="Verdana" Width="75px" Font-Size="8"  />
        <EditItemStyle HorizontalAlign="Center" Font-Names="Verdana" BackColor="LightGray" Width="75px" Font-Size="8" />
        <Columns>
            <asp:BoundColumn DataField="AccountID" HeaderText="Account ID" ReadOnly="true"></asp:BoundColumn>
            <asp:BoundColumn DataField="AccountType" HeaderText="Account Type"></asp:BoundColumn>
            <asp:BoundColumn DataField="AccountBalance" HeaderText="Account Balance"></asp:BoundColumn>
            <asp:BoundColumn DataField="AccountCreatedDateString" HeaderText="Account Created Date"></asp:BoundColumn>
            <asp:BoundColumn HeaderText="Account Officer"></asp:BoundColumn>
            <asp:EditCommandColumn ItemStyle-Width="150" HeaderText="Edit" EditText="Edit" CancelText="Cancel" UpdateText="Update" ButtonType="PushButton" ItemStyle-HorizontalAlign="Center" >
            </asp:EditCommandColumn>
        </Columns>
        </asp:DataGrid>
        </td>
        </tr>
    </table>
    
</div>
<div style="height:50px">&nbsp;</div>
<div>
   <table width="560" border="0" cellspacing="0" cellpadding="2" class="post">
        <tr>
            <td class="title" >
                <h2>
                <a href="#">Loan Details</a></h2>
            </td>
        </tr>
        <tr>
        <td>
        <asp:DataGrid ID="grdLoan" runat="server" AutoGenerateColumns="false" DataKeyField="LoanID">
        <HeaderStyle HorizontalAlign="Center" ForeColor="WhiteSmoke" BackColor="Gray" Height="50px" Font-Size="15" Font-Names="Georgia"/>
        <ItemStyle HorizontalAlign="Center" Font-Names="Verdana" Width="75px" Font-Size="8"  />
        <AlternatingItemStyle HorizontalAlign="Center" Font-Names="Verdana" Width="75px" Font-Size="8"  />
        <EditItemStyle HorizontalAlign="Center" Font-Names="Verdana" BackColor="LightGray" Width="75px" Font-Size="8" />
        <Columns>
            <asp:BoundColumn DataField="LoanID" HeaderText="Loan ID" ReadOnly="true"></asp:BoundColumn>
            <asp:BoundColumn DataField="LoanType" HeaderText="Loan Type"></asp:BoundColumn>
            <asp:BoundColumn DataField="LoanAmount" HeaderText="Loan Amount"></asp:BoundColumn>
            <asp:BoundColumn DataField="LoanIntrestRate" HeaderText="Laon Intrest Rate"></asp:BoundColumn>
            <asp:BoundColumn DataField="LoanTerm" HeaderText="Loan Term"></asp:BoundColumn>
            <asp:BoundColumn DataField="LoanStartDateString" HeaderText="Loan Start Date" ReadOnly="true"></asp:BoundColumn>
            <asp:BoundColumn HeaderText="Loan Officer" ReadOnly="true"></asp:BoundColumn>
            <asp:BoundColumn DataField="LoanRepaymentCurrent" HeaderText="Loan Repayment Current"></asp:BoundColumn>
            <asp:BoundColumn DataField="LoanModifiedDateString" HeaderText="Loan Modified Date"  ReadOnly="true"></asp:BoundColumn>
            <asp:EditCommandColumn ItemStyle-Width="150" HeaderText="Edit" EditText="Edit" CancelText="Cancel" UpdateText="Update" ButtonType="PushButton" ItemStyle-HorizontalAlign="Center" >
            </asp:EditCommandColumn>
        </Columns>
        </asp:DataGrid>
        </td>
        </tr>
   </table>
    
</div>
<div style="height:50px">&nbsp;</div>
<div >
   <table width="560" border="0" cellspacing="0" cellpadding="2" class="post" id="tblEmployee" runat="server">
        <tr>
            <td >
                <a href="../Employee/EmployeeAdmin.aspx">Return to Customer List</a>
            </td>
        </tr>
   </table>
</div>
   
</asp:content>
